package org.ainlolcat.ctp.model.data;

/**
 * Created by IntelliJ IDEA.
 * User: ain
 * Date: 03.09.12
 * Time: 13:18
 * To change this template use File | Settings | File Templates.
 */
public class Row {
    Entity entity;
    int row;

    public Row(Entity entity, int row) {
        this.entity = entity;
        this.row = row;
    }

    public Object getData(int column){
        return entity.getData(column, row);
    }

    public Column getColumn(int column){
        return entity.getColumn(column);
    }
}
